* {
    margin: 0;
    padding: 0;
}

body {
    background: #f0f4f5;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

.w {
    width: 1200px;
    margin: 0 auto;
}

/* --------------- header -------------- */
.header {
    height: 40px;
    margin-top: 10px;
}

.logo {
    float: left;
}

.nav {
    float: left;
    margin-left: 20px;
}

.nav ul li {
    float: left;
    padding: 10px;
}

.nav ul li a {
    color: black;
}

.nav ul li a:hover {
    text-shadow: 1px 5px 10px;
}

.search {
    float: left;
    width: 300px;
    margin-left: 20px;
}

.search input {
    float: left;
    width: 255px;
    padding: 10px;
    border-radius: 15px;
}

.search img {
    float: right;
}

.user {
    float: right;
    margin-right: 20px;
}

.user img {
    border-radius: 50%;
    vertical-align: middle;
}

/* --------------- banner -------------- */
.banner {
    height: 500px;
    margin-top: 15px;
    background: #1b0b6d;
}

.banner .w {
    height: 500px;
    background: url(../img/bg.png) no-repeat top center;
}

.banner .subnav {
    float: left;
    height: 500px;
    width: 200px;
    background: rgba(0, 0, 0, 0.3);
}

.banner .subnav ul li {
    height: 45px;
    line-height: 45px;
    padding: 0 20px;
}

.banner .subnav ul li a {
    color: #d2d1e0;
    font-size: 14px;
}

.banner .subnav ul li a span {
    float: right;
    color: #d2d1e0;
}

.banner .course {
    float: right;
    height: 250px;
    width: 200px;
    margin-top: 100px;
    background: rgba(111, 113, 234, 0.9);
}

.banner .course h2 {
    height: 40px;
    background: #94cae7;
    color: #f9fcf5;
    line-height: 40px;
    text-align: center;
}

.db {
    padding: 0 20px;
}

.db ul li {
    margin-top: 10px;
    border-bottom: 1px solid skyblue;
}

.db h4 {
    font-size: 18px;
}

.db p {
    font-size: 12px;
}

.db .more {
    display: block;
    height: 30px;
    margin-top: 17px;
    background: skyblue;
    color: white;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
}

/* --------------- goods -------------- */
.goods {
    height: 50px;
    margin-top: 10px;
    line-height: 50px;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.3);
}

.goods h2 {
    float: left;
    margin-left: 20px;
    color: #2e8cb1;
}

.goods ul {
    float: left;
    margin-left: 20px;
}

.goods ul li {
    float: left;
}

.goods ul li a {
    padding: 0 45px;
    border-left: 1px solid;
    color: black;
}

.goods .mod {
    float: right;
    margin-right: 10px;
    color: #2e8cb1;
}

/* --------------- main -------------- */
.main {
    margin-top: 20px;
}

.mheader {
    height: 25px;
    line-height: 25px;
}

.mheader h4 {
    float: left;
    font-size: 16px;
}

.mheader a {
    float: right;
    color: gray;
    font-size: 12px;
}

.clearfix {
    overflow: hidden;
}

.mbody ul li {
    float: left;
    width: 232px;
    height: 300px;
    margin: 10px 10px 0 0;
    box-shadow: 2px 2px 5px;
}

.mbody ul li:nth-child(5n) {
    margin-right: 0;
}

.mbody ul li img {
    width: 100%;
}

.mbody ul li h4 {
    height: 70px;
    padding: 10px 20px 0 20px;
    font-weight: 400;
    font-size: 18px;
}

.mbody ul li div {
    margin-top: 10px;
    padding: 0 20px;
    font-size: 12px;
    color: #b5b7b3;
}

.mbody ul li div span {
    color: orange;
}

/* --------------- footer -------------- */
.footer {
    height: 350px;
    margin-top: 20px;
    padding-top: 30px;
    background: #fff;
}

.fleft {
    float: left;
}

.fleft p {
    margin-top: 10px;
    text-indent: 2em;
}

.fleft a {
    display: block;
    width: 100px;
    margin-top: 10px;
    border: 2px solid skyblue;
    color: skyblue;
    text-align: center;
}

.fright {
    float: right;
}

.fright dl {
    float: right;
    margin-left: 150px;
}

.fright dl dt {
    font-size: 18px;
}

.fright dl dd {
    margin-top: 3px;
}